<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class con_principal extends CI_Controller {
	public function index()
	{
            if (!$this->session->userdata('login')){
				$this->load->view('view_inicio');
            }else{
                $this->load->view('view_principal');
            }
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */